﻿using System;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using YogaStudio.Data.Domain;

namespace YogaStudio.Data
{
    public interface IYogaStudioEntities : IDisposable
    {
        IDbSet<OrderItem> OrderItems { get; }
        IDbSet<Product> Products { get; }
        IDbSet<Category> Categories { get; }
        IDbSet<ShoppingCart> ShoppingCarts { get; }
        IDbSet<Course> Courses { get; }
        IDbSet<WaiverRequest> WaiverRequests { get; }
        int SaveChanges();
        DbEntityEntry Entry(object entity);
    }
}
